'''
Created on 2024年7月19日

@author: Administrator
'''
cars = ['bmw','audi','toyota','subaru']
print(cars)
cars.sort()
print(cars)
cars = ['bmw','audi','toyota','subaru']
print(cars)
cars.sort(reverse=True)
print(cars)



cars = ['bmw','audi','toyota','subaru']
print('Here is the original list:')
print(cars)
print('\nHere is the sorted list:')
print(sorted(cars))
print()
print('Here is the original list again:')
print(cars)
print(sorted(cars,reverse=True))

cars.reverse()
print(cars)
print(len(cars))
print(len('123'))


